Platform Explorer / Nuxeo Platform 2023.20

Extension point tree

Documentation

Used to register the PublicationTree implementations available to build treeInstance.

A sample contribution could be

    <publicationTree
        class="org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree" name="CoreTree"/>

It registers a SectionPublicationTree, tree implementation used to publish documents on local Section documents.

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.publisher.descriptors.PublicationTreeDescriptor

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-publisher-2023.20.15.jar /OSGI-INF/publisher-contrib.xml
    <extension point="tree" target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl">
    
        <documentation>
          Default PublicationTrees available to use.
    
          - CoreTree: tree to use when publishing on local sections
    
          - RootSectionsCoreTree: tree to use when publishing on local sections but
          using the information stored in the Workspace to get the sections where
          a publication is allowed
    
          @author Thomas Roger(troger@nuxeo.com)
        </documentation>
    
        <publicationTree class="org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree" name="CoreTree"/>
        <publicationTree class="org.nuxeo.ecm.platform.publisher.impl.core.RootSectionsPublicationTree" name="RootSectionsCoreTree"/>
    
      </extension>
  • nuxeo-platform-rendition-publisher-2023.20.15.jar /OSGI-INF/rendition-publisher-contrib.xml
    <extension point="tree" target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl">
    
        <documentation>
          PublicationTree that allows retrieving all the published Rendition documents
          in addition to the 'standard' proxies for the given document.
        </documentation>
        <publicationTree class="org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationCoreTree" name="RenditionPublicationCoreTree"/>
    
      </extension>